<html>
<%@ include file="../header.jsp" %>
<%@ page import="admin.system.role.*" %>
<body>
<%   RoleBean[] roles = (RoleBean[])request.getAttribute("roles");
     if (roles==null)
        roles = new Role[0];  %>
<body >
<h2>Role Maintenance</h2>
<INPUT type=button value=Back onclick=javascript:history.back()>
<table cols=2 border=1 >
<thead>
  <td><b>Role ID</b></td>
  <td><b>Role Name</b></td>
  <td><b>Role Description</b></td>
</thead>
<%  for (int i=0; i<roles.length; i++)
    {   %>
<tr>
    <td><a href="<%=contextPath%>/servlet/admin.system.role.RoleSearch?formAction=Update&role_id=<%=roles[i].getRole_id()%>" ><%=roles[i].getRole_id()%></a></td>
    <td><%=roles[i].getRole_name()%></td>
    <td><%=roles[i].getRole_des()%></td>
</tr>
<%  } %>
</table>
</body>
<%@ include file="../footer.jsp" %>
</body>
</html>

